body{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 1.6rem;
}
/* 头部 */
header{
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 92%;
    margin: 0 auto;
    height: 6rem;
    border-bottom: 0.5px solid #999;
    line-height: 6rem;
}
header .on{
    font-size: 1.8rem;
    color: #4294FF;
    font-weight: bold;
    position: relative;
}
header .on::after{
    content: "";
    display: inline-block;
    width: 60%;
    border-bottom: 2px solid #4294FF;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
/* 主体内容 */
main{
    flex: 1;
    overflow-y: auto;
    width: 100%;
    padding: 0 4%;
    margin: 0 auto;
}
main h3{
    font-size: 1.8rem;
    font-weight: normal;
    margin: 1.5rem 0;
}
main .new>div{
    width: 100%;
    height: 22rem;
    border: 1px solid #ddd;
    border-radius: 2rem;
    box-shadow: 0px 0px 10px 1px #bbb;
}
main .new>div .pic{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 15rem;
    border-radius: 2rem 2rem 0px 0px;
    overflow: hidden;
}
main .new>div .pic img{
    width: 100%;
}
main .new>div .des{
    padding: 3%;
    font-weight: normal;
    color: #333;
    font-size: 1.6rem;
}
main .new>div .des p{
    font-size: 1.2rem;
    color: #999;
    margin-top: 1rem;
    overflow: hidden;
    text-overflow:ellipsis;
    white-space: nowrap;
}

main .course li{
    height: 15rem;
    border-radius: 2rem;
    box-shadow: 0px 0px 5px 1px #bbb;
    color: #333;
    margin: 1.5rem 0;
    padding: 4%;
    position: relative;
}
main .course li img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 15rem;
    border-radius: 2rem;
}
main .course li h4{
    position: absolute;
    top: 50%;
    left: 5%;
    /* font-weight: normal; */
    color: #fff;
}
main .course li p{
    font-size: 1.2rem;
    margin-top: 1rem;
    font-weight: normal;
}
main .course li h4 i{
    color: #999;
}
  